package com.joysuch.wwyt.bp.bean;

import cn.zlg.common.springmvc.validate.constraints.NotNull;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Min;

/**
 * @Author ZhangDong
 * @Date 2020/11/13 17:28
 */
@Data
public class DepartDutyUserBean {

    private Long departId;
    private Long userId;
    @ApiModelProperty("当前部门的上几级部门, 0 当前部门; 1 上级; 2 上上级")
    @Min(value = 0)
    @NotNull
    private Integer level;
}
